package Lexical;

import java.util.Set;

public class Transform {
    private String current_status;
    private String input;
    private String target_status;

    public String getCurrent_status() {
        return current_status;
    }

    public String getInput() {
        return input;
    }

    public String getTarget_status() {
        return target_status;
    }

    public void setCurrent_status(String current_status) {
        this.current_status = current_status;
    }

    public void setInput(String input) {
        this.input = input;
    }

    public void setTarget_status(String target_status) {
        this.target_status = target_status;
    }

    public String trans(String current_status, String input)
    {
        if( this.current_status.equals(current_status) && this.input.equals(input) )
            return this.target_status;
        else
            return null;
    }
}
